<html>
  <head>
    <meta name="layout" content="main"/>  
  </head>
  <body>
   <div class="nav">
    <ul>
      <li><a href="${createLink(uri:'/') }">HOME</a></li>
      <li><g:link action="list" class="list">Listar Tipos de Articulos</g:link></li>
      <li><g:link action="create" class="create">Crear Tipo de Articulo</g:link></li>      
    </ul>
   </div>
   <div>
    <h2>Editar Tipo Articulo</h2>
    <g:if test="${flash.message}">
      <div class="message" >${flash.message}</div>
    </g:if>
    <g:hasErrors bean="${tipoArticuloInstance }">
     <g:eachError bean="${tipoArticuloInstance}" var="error">
        <div class="message">${error}</div>
     </g:eachError>
    </g:hasErrors>
    <form method="post">
      <g:hiddenField name="id" value="${tipoArticuloInstance?.id}"/>
      <g:hiddenField name="version" value="${tipoArticuloInstance?.version}"/>
      <fieldset class="form">
        <g:render template="form"/>
      </fieldset>
      <fieldset class="buttons">
        <g:actionSubmit class="save" action="update" value="Actualizar" />
        <g:actionSubmit class="delete" action="delete" value="Borrar" onclick="return confirm('Desea eliminar este Tipo Articulo?');"/>        
      </fieldset>
    </form>
   </div>
  
  </body>
</html>